/**
 * 
 */
package cn.kuaipai.utils;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 对象处理工具
 * @author zy
 */
public class BeanUtils {

	/**
	 * <p>把对象转化成字符串,主要用于对象输出</p>
	 * 
	 * @param object
	 * @return
	 */
	public static String reflectionToString(Object object){
		return ToStringBuilder.reflectionToString(object, ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
